package io.qar.rawMaterialsConfig.dao;

import io.qar.commons.mybatis.dao.BaseDao;
import io.qar.rawMaterialsConfig.entity.RawMaterialsConfigEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* 原材料配置表
*
* @author yyyyjinying 1020066395@qq.com
* @since 3.0 2024-07-21
*/
@Mapper
public interface RawMaterialsConfigDao extends BaseDao<RawMaterialsConfigEntity> {
	List<RawMaterialsConfigEntity> query(Long dishId);
	void deleteMaterials(List<Long> configIds, Long dishId);
}